package org.ww.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @program: gmall
 * @description: 二级分类
 * @author: ww
 * @create: 2024-02-20 13:38
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CatelogLevel2Vo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 一级分类id
     */
    private String catalog1Id;

    /**
     * 三级分类列表
     */
    private List<Catelog3Vo> catalog3List;

    private String id;

    private String name;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Catelog3Vo implements Serializable{
        private static final long serialVersionUID = 1L;

        //二级分类id
        private String catalog2Id;
        private String id;
        private String name;
    }

}
